package com.dgt.trade.dao;

import com.dgt.trade.entitys.UserBalance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserBalanceDao {
    List<UserBalance> getUserBalanceById(@Param("user_id")int user_id,@Param("data_type")String data_type);
    /**
     * 添加充值记录
     * @param sUserBalanceLog 充值记录实体类
     * @return 影响的行数
     */
    int insert(UserBalance sUserBalanceLog);
}
